import { useContext } from 'react'

import Securitycontext from "../contexts/securutyContext"

const useSecurity = () => useContext(Securitycontext)

export default useSecurity